#include<bits/stdc++.h>
using namespace std;
int main()
{
	string s;
	cin>>s;
	string m=s;
	reverse(s.begin(),s.end());
	if(m==s)cout<<"true";
	else cout<<"false";
	return 0;
}
